<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h2>用户注册</h2>
    <form action="" method="post" enctype="multipart/form-data">
        <!--用户名：<input type="text" name="username" value="tom" size="12" maxlength="6" readonly disabled> <br>-->
        用户名：<input type="text" name="username" value="tom" size="12" maxlength="6"> <br>
        手机号：<input type="text" name="phone" placeholder="请输入手机号"> <br>
        密码：<input type="password" name="password"> <br>
        性别：<input type="radio" name="sex" value="male" checked> 男
              <input type="radio" name="sex" value="female"> 女 <br>
        爱好：<input type="checkbox" name="hobby" value="program"> 编程
            <input type="checkbox" name="hobby" value="eat" checked> 干饭
            <input type="checkbox" name="hobby" value="sport"> 运动 <br>
        头像：<input type="file" name="avatar" accept=".jpg, .png, .gif"> <br>
             <input type="hidden" name="id" value="9527">
        学历：<select name="degree">
                    <option value="0">--请选择学历--</option>
                    <option value="1">大专</option>
                    <option value="2" selected>本科</option>
                    <option value="3">研究生</option>
                    <option value="4">博士</option>
              </select> <br>
        简介：<textarea name="introduce" cols="30" rows="10" style="resize: none;"></textarea> <br>


        <input type="submit" value="注    册">
        <input type="reset" value="重    置">
        <input type="button" value="普通按钮">

    </form>
</body>
</html>